home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 297_01 / prolog.h < prev    next >
C/C++ Source or Header  |  1991-12-18  |  1KB  |  52 lines

  1. /* prolog.h */
  2. /* environment specific headers */
  3.  
  4. /* #define STATISTICS *//* just to check consumption */
  5.  
  6. #define STRING_READ_CAPABILITY 1 /* can read from a string */
  7. #define TRACE_CAPABILITY 1 /* the system can trace */
  8. #define LOGGING_CAPABILITY 1 /* the system can log */
  9. #define CLOCK 1 /* the clock predicate works */
  10. #define MAXOPEN 15 /* maximum number of files simultaneously open (see prbltin.c) in a mode */
  11.  
  12. /* adjust this to your environment */
  13. #ifdef ATARI
  14. typedef unsigned long zone_size_t;
  15. #endif
  16.  
  17. #ifdef MSDOS 
  18. typedef unsigned int zone_size_t;
  19. #define SEGMENTED_ARCHITECTURE /* can't compare pointers from different 
  20.                   arrays */
  21. #endif
  22. #ifdef SUN
  23. typedef unsigned int zone_size_t;
  24. #endif
  25.  
  26. #ifdef GCC
  27. typedef unsigned int zone_size_t;
  28. #endif
  29. #define MAX_LINES 25 /* default number of lines per page */
  30.  
  31. /**********************************************************************
  32.  * Looking for bugs.
  33.  * This can help debugging but you should probably #undef these
  34.  * and #define (replace) them by your own according to the file.
  35.  **********************************************************************/
  36.  
  37. #ifdef DEBUG
  38.  
  39. extern char Debug_buffer[128];
  40. #define HUNTBUGS
  41. /* #define ENTER(X) sprintf(Debug_buffer,"Enter %s\n",X);tty_pr_string(Debug_buffer) */
  42. #define ENTER(X) 
  43. #define BUGHUNT(S) bughunt(__LINE__,__FILE__,S)
  44.  
  45. #else
  46.  
  47. #define ENTER(X) 
  48. #define BUGHUNT(S) 
  49.  
  50. #endif
  51.  
  52.